function [donors_false_combine,acceptors_false_combine] = extract_false_data(folder_path)
% 获取文件夹中的所有文件
files = dir(fullfile(folder_path, '*.TXT'));  % 获取所有 TXT 文件

% 初始化一个 cell 数组存储所有序列
sequences = cell(length(files), 1);   %存储最后提取的DNA序列
introns = cell(length(files), 1);   %存储提取的外显子/内含子以及内含子/外显子交界处

% 遍历每个文件并提取序列
for i = 1:length(files)
    file_path = fullfile(folder_path, files(i).name);  % 获取文件路径
    data = fileread(file_path);  % 读取文件内容
    sequence = regexp(data,'\(.*','match');   %由于DNA序列中存在'n'，先把')'后所有数据提取
    sequence = regexp(sequence(1), '[a-zA-Z]+', 'match');  % 提取序列部分（包括n）'
    intron = regexp(data,'\(.*\)','match');   %识别CDSjoin的括号部分
    intron = regexp(intron,'\d+','match');   %提取括号内的数字（交界处）
    introns(i) = intron;    %将提取到的边界处整合在一起
    t = sequence{1};   %将提取到的序列合并，然后整合在一起
    temper = t(1);
    for j = 2:size(t,2)
        temper = strcat(temper,t(j));
    end
    sequences{i} = temper;  % 存储序列
end
%% 伪外显子
for i = 1:100
    sequence = sequences{i};
    sequence = lower(sequence);
    donors_false(i,:) = regexp(sequence(1),'[actg]{9}gt[actg]{7}','match');
end
donors_false_combine = cell(1,1);
for i = 1:100
    j = 1;
    temp = donors_false{i};
    while(not(isempty(temp(j))))
        donors_false_combine = cat(1,donors_false_combine,temp(j));
        if j == size(temp,2)
            break;
        end
        j = j+1;
    end
end
donors_false_combine = donors_false_combine(2:length(donors_false_combine),:);

for i = 1:100
    sequence = sequences{i};
    sequence = lower(sequence);
    acceptors_false(i,:) = regexp(sequence(1),'[actg]{25}ag[actg]{9}','match');
end
acceptors_false_combine = cell(1,1);
for i = 1:100
    j = 1;
    temp = acceptors_false{i};
    while(not(isempty(temp(j))))
        acceptors_false_combine = cat(1,acceptors_false_combine,temp(j));
        if j == size(temp,2)
            break;
        end
        j = j+1;
    end
end
acceptors_false_combine = acceptors_false_combine(2:length(acceptors_false_combine),:);